#ifndef _GC_EXCEPTION_H_
#define _GC_EXCEPTION_H_
#include "GCHeader.h"


namespace gcstock
{
    class GCLogicError: public std::exception
    {
    public:
        explicit GCLogicError(const std::string &msg);
        virtual __exString what() const throw()
        {
            return errMsg.c_str();
        };
    private:
        std::string errMsg;
    };
}
#endif // _GC_EXCEPTION_H_